package com.ruoyi.car.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 客户列表
 */
@Setter
@Getter
@ToString
public class BusCustomer {

    public static final Integer ISVIP_NO = 0;//不是会员
    public static final Integer ISVIP_YES = 1;//是会员
    public static final Integer ISDELETE_NO = 0;//不是删除
    public static final Integer ISDELETE_YES = 1;//是删除

    /**客户ID*/
    private Long id;

    /** 客户名称*/
    private String name;

    /** 联系方式*/
    private String phone;

    /** 生日*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    /** 是否VIP(数据字典)*/
    private Integer vip;

    /** 备注信息*/
    private String remark;

    /** 是否删除*/
    private Integer isdelete = ISDELETE_NO;

}